﻿using DevExpress.Xpo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class B_ProviderContact : BaseXPLiteObjectClass
    {
        public B_ProviderContact(Session session) : base(session) { }
        public override void AfterConstruction()
        {
            base.AfterConstruction();
        }
        string fProviderContactID;
        [Key, Persistent]
        public string ProviderContactID
        {
            get { return fProviderContactID; }
            set { SetPropertyValue<string>("ProviderContactID", ref fProviderContactID, value); }
        }
        B_Provider fProviderID;
        public B_Provider ProviderID
        {
            get { return fProviderID; }
            set { SetPropertyValue<B_Provider>("ProviderID", ref fProviderID, value); }
        }
        string fContactName;
        public string ContactName
        {
            get { return fContactName; }
            set { SetPropertyValue<string>("ContactName", ref fContactName, value); }
        }

        string fPhone;
        public string Phone
        {
            get { return fPhone; }
            set { SetPropertyValue<string>("Phone", ref fPhone, value); }
        }
        string fFax;
        public string Fax
        {
            get { return fFax; }
            set { SetPropertyValue<string>("Fax", ref fFax, value); }
        }
        int fSex;
        public int Sex
        {
            get { return fSex; }
            set { SetPropertyValue<int>("Sex", ref fSex, value); }
        }
    }
}
